﻿@model lindyaka.Models.Administration.Role

@{
    ViewBag.Title = "Delete Role";
    Layout = "~/Areas/Administration/Views/Shared/_Layout.cshtml";
}

<div>
    <h2>@ViewBag.Title</h2>

    <h3>Are you sure you want to delete this?</h3>
    <fieldset>
        <legend>Role</legend>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.Name)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Name)
        </div>
    </fieldset>
    @using (Html.BeginForm())
    {
        <p>
            <input type="submit" value="Delete" class="btn btn-default" /> |
            @Html.ActionLink("Back to List", "Index")
        </p>
    }
</div>